<div class="panel panel-default panel-intro">
    {:build_heading()}

    <div class="panel-body">

        <div class="row" style="margin-top:15px;">

            <div class="col-lg-12">
            </div>
            <div class="col-xs-6 col-md-3">
                <div class="panel bg-blue">
                    <div class="panel-body">
                        <div class="panel-title">
                            <span class="label label-success pull-right"></span>
                            <h5>总数</h5>
                        </div>
                        <div class="panel-content">
                            <h1 class="no-margins">{$total_company}</h1>
                        </div>
                    </div>
                </div>
            </div>
            <div class="col-xs-6 col-md-3">
                <div class="panel bg-aqua-gradient">
                    <div class="panel-body">
                        <div class="ibox-title">
                            <span class="label label-info pull-right"></span>
                            <h5>今日新增</h5>
                        </div>
                        <div class="ibox-content">
                            <h1 class="no-margins">{$total_company_today}</h1>
                        </div>
                    </div>
                </div>
            </div>

            <div class="col-xs-6 col-md-3">
                <div class="panel bg-purple-gradient">
                    <div class="panel-body">
                        <div class="ibox-title">
                            <span class="label label-primary pull-right"></span>
                            <h5>本周新增</h5>
                        </div>
                        <div class="ibox-content">
                            <h1 class="no-margins">{$total_company_weekly}</h1>
                        </div>
                    </div>
                </div>
            </div>
            <div class="col-xs-6 col-md-3">
                <div class="panel bg-green-gradient">
                    <div class="panel-body">
                        <div class="ibox-title">
                            <span class="label label-primary pull-right"></span>
                            <h5>本月新增</h5>
                        </div>
                        <div class="ibox-content">
                            <h1 class="no-margins">{$total_company_month}</h1>
                        </div>
                    </div>
                </div>
            </div>
        </div>

        <div id="myTabContent" class="tab-content">
            <div class="tab-pane fade active in" id="one">
                <div class="widget-body no-padding">
                    <div id="toolbar" class="toolbar">
                        <a href="javascript:;" class="btn btn-primary btn-refresh" title="{:__('Refresh')}" ><i class="fa fa-refresh"></i> </a>
                        <a href="javascript:;" class="btn btn-success btn-add {:$auth->check('company/add')?'':'hide'}" title="{:__('Add')}" ><i class="fa fa-plus"></i> {:__('Add')}</a>
                        <a href="javascript:;" class="btn btn-success btn-edit btn-disabled disabled {:$auth->check('company/edit')?'':'hide'}" title="{:__('Edit')}" ><i class="fa fa-pencil"></i> {:__('Edit')}</a>
                        <a href="javascript:;" class="btn btn-danger btn-del btn-disabled disabled {:$auth->check('company/del')?'':'hide'}" title="{:__('Delete')}" ><i class="fa fa-trash"></i> {:__('Delete')}</a>
                        <a class="btn btn-success btn-recyclebin btn-dialog {:$auth->check('company/recyclebin')?'':'hide'}" href="company/recyclebin" title="{:__('Recycle bin')}"><i class="fa fa-recycle"></i> {:__('Recycle bin')}</a>
                    </div>
                    <table id="table" class="table table-striped table-bordered table-hover table-nowrap"
                           data-operate-edit="{:$auth->check('company/edit')}"
                           data-operate-del="{:$auth->check('company/del')}"
                           data-operate-edit_admin="{:$auth->check('auth/admin/edit')}"
                           width="100%">
                    </table>
                </div>
            </div>

        </div>
    </div>
</div>
